package com.reiniot.client_demo.camera;

import com.reiniot.client_demo.base.BasePresenter;
import com.reiniot.client_demo.base.BaseView;


public interface PlayContract {
    interface Presenter extends BasePresenter {
        void play(String sn);

        void keepPlay(String sn);

        void takePhoto();

        void ptz(String direction);

        void sendAudio(String audio);

        void cancelPlay();
    }

    interface View extends BaseView<Presenter> {
        void liveStart(String url);

        void liveFailure();
    }
}
